package com.ys.entity.business;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="THR_OperateCompanyEuropeTrade", catalog="Id")
public class ThrOperateCompanyEuropeTrade extends BaseEntity<ThrOperateCompanyEuropeTrade> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Vgsbm", nameJava="vgsbm", typeDataBase="varchar")
	private String vgsbm;
	@YsField(nameDataBase="VatNo", nameJava="vatNo", typeDataBase="varchar")
	private String vatNo;
	@YsField(nameDataBase="CountryCode", nameJava="countryCode", typeDataBase="varchar")
	private String countryCode;
	@YsField(nameDataBase="MtdCode", nameJava="mtdCode", typeDataBase="varchar")
	private String mtdCode;
	@YsField(nameDataBase="VatType", nameJava="vatType", typeDataBase="tinyint")
	private Integer vatType;
	@YsField(nameDataBase="VatDeclareStart", nameJava="vatDeclareStart", typeDataBase="char")
	private String vatDeclareStart;
	@YsField(nameDataBase="VatDeclareEnd", nameJava="vatDeclareEnd", typeDataBase="char")
	private String vatDeclareEnd;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="VatPassTime", nameJava="vatPassTime", typeDataBase="datetime")
	private Date vatPassTime;
	@YsField(nameDataBase="EoriCountryCode", nameJava="eoriCountryCode", typeDataBase="varchar")
	private String eoriCountryCode;
	@YsField(nameDataBase="EoriCode", nameJava="eoriCode", typeDataBase="varchar")
	private String eoriCode;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="EoriPassTime", nameJava="eoriPassTime", typeDataBase="datetime")
	private Date eoriPassTime;
	@YsField(nameDataBase="PackRegisterNo", nameJava="packRegisterNo", typeDataBase="varchar")
	private String packRegisterNo;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="PackPassTime", nameJava="packPassTime", typeDataBase="datetime")
	private Date packPassTime;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="OtherFile", nameJava="otherFile", typeDataBase="varchar")
	private String otherFile;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public ThrOperateCompanyEuropeTrade setId(Long id) {
		this.id = id;
		return this;
	}
	public String getVgsbm() {
		return vgsbm;
	}
	public ThrOperateCompanyEuropeTrade setVgsbm(String vgsbm) {
		this.vgsbm = vgsbm;
		return this;
	}
	public String getVatNo() {
		return vatNo;
	}
	public ThrOperateCompanyEuropeTrade setVatNo(String vatNo) {
		this.vatNo = vatNo;
		return this;
	}
	public String getCountryCode() {
		return countryCode;
	}
	public ThrOperateCompanyEuropeTrade setCountryCode(String countryCode) {
		this.countryCode = countryCode;
		return this;
	}
	public String getMtdCode() {
		return mtdCode;
	}
	public ThrOperateCompanyEuropeTrade setMtdCode(String mtdCode) {
		this.mtdCode = mtdCode;
		return this;
	}
	public Integer getVatType() {
		return vatType;
	}
	public ThrOperateCompanyEuropeTrade setVatType(Integer vatType) {
		this.vatType = vatType;
		return this;
	}
	public String getVatDeclareStart() {
		return vatDeclareStart;
	}
	public ThrOperateCompanyEuropeTrade setVatDeclareStart(String vatDeclareStart) {
		this.vatDeclareStart = vatDeclareStart;
		return this;
	}
	public String getVatDeclareEnd() {
		return vatDeclareEnd;
	}
	public ThrOperateCompanyEuropeTrade setVatDeclareEnd(String vatDeclareEnd) {
		this.vatDeclareEnd = vatDeclareEnd;
		return this;
	}
	public Date getVatPassTime() {
		return vatPassTime;
	}
	public ThrOperateCompanyEuropeTrade setVatPassTime(Date vatPassTime) {
		this.vatPassTime = vatPassTime;
		return this;
	}
	public String getEoriCountryCode() {
		return eoriCountryCode;
	}
	public ThrOperateCompanyEuropeTrade setEoriCountryCode(String eoriCountryCode) {
		this.eoriCountryCode = eoriCountryCode;
		return this;
	}
	public String getEoriCode() {
		return eoriCode;
	}
	public ThrOperateCompanyEuropeTrade setEoriCode(String eoriCode) {
		this.eoriCode = eoriCode;
		return this;
	}
	public Date getEoriPassTime() {
		return eoriPassTime;
	}
	public ThrOperateCompanyEuropeTrade setEoriPassTime(Date eoriPassTime) {
		this.eoriPassTime = eoriPassTime;
		return this;
	}
	public String getPackRegisterNo() {
		return packRegisterNo;
	}
	public ThrOperateCompanyEuropeTrade setPackRegisterNo(String packRegisterNo) {
		this.packRegisterNo = packRegisterNo;
		return this;
	}
	public Date getPackPassTime() {
		return packPassTime;
	}
	public ThrOperateCompanyEuropeTrade setPackPassTime(Date packPassTime) {
		this.packPassTime = packPassTime;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public ThrOperateCompanyEuropeTrade setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public String getOtherFile() {
		return otherFile;
	}
	public ThrOperateCompanyEuropeTrade setOtherFile(String otherFile) {
		this.otherFile = otherFile;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public ThrOperateCompanyEuropeTrade setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public ThrOperateCompanyEuropeTrade setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public ThrOperateCompanyEuropeTrade setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static ThrOperateCompanyEuropeTrade thrOperateCompanyEuropeTrade(
		String vgsbm,
		String vatNo,
		String countryCode,
		String mtdCode,
		Integer vatType,
		String vatDeclareStart,
		String vatDeclareEnd,
		Date vatPassTime,
		String eoriCountryCode,
		String eoriCode,
		Date eoriPassTime,
		String packRegisterNo,
		Date packPassTime,
		String remark,
		String otherFile,
		Integer status
			) {
		ThrOperateCompanyEuropeTrade entity = new ThrOperateCompanyEuropeTrade();
		entity.setVgsbm(vgsbm);
		entity.setVatNo(vatNo);
		entity.setCountryCode(countryCode);
		entity.setMtdCode(mtdCode);
		entity.setVatType(vatType);
		entity.setVatDeclareStart(vatDeclareStart);
		entity.setVatDeclareEnd(vatDeclareEnd);
		entity.setVatPassTime(vatPassTime);
		entity.setEoriCountryCode(eoriCountryCode);
		entity.setEoriCode(eoriCode);
		entity.setEoriPassTime(eoriPassTime);
		entity.setPackRegisterNo(packRegisterNo);
		entity.setPackPassTime(packPassTime);
		entity.setRemark(remark);
		entity.setOtherFile(otherFile);
		entity.setStatus(status);
		return entity;
	}
}